package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Role;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.query.QueryObject;

import java.util.List;

public interface IRoleService {
    void save(Role dept, Long[] permissionIds, Long[] menuIds);

    void delete(long id);

    void update(Role dept, Long[] permissionIds, Long[] menuIds);

    Role get(long id);

    List<Role> list();

    PageResult query(QueryObject qo);
}
